﻿// Decompiled with JetBrains decompiler
// Type: Netick.Session
// Assembly: Netick, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 6726ECA1-C773-4CF7-8952-E81B30D93B52
// Assembly location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.dll
// XML documentation location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.xml

using System;

#nullable disable
namespace Netick;

[Serializable]
public struct Session : IEquatable<Session>
{
  public string IP;
  public int Port;
  public string Name;

  public bool Equals(Session other)
  {
    return this.IP == other.IP && this.Name == other.Name && this.Port == other.Port;
  }

  public override int GetHashCode()
  {
    return this.IP.GetHashCode() | this.Name.GetHashCode() | this.Port.GetHashCode();
  }
}
